<{include file="block/header.html"}>
<script type="text/javascript" src="<{$pager.res}>/script/jquery.qrcode.min.js"></script>
<!--面包屑导航开始-->
<div class="main_topnav mb20">
	<div class="mainwd">
		<p><span class="ico_list breadna"></span>您的位置：<a href="<{link ctl='index'}>"><{$CONFIG.site.title}></a>
			&gt;<a href="<{link ctl='article'}>">学装修</a>
			&gt;<a href="<{link ctl='article:items' arg0=$cate.cat_id}>"><{$cate.title}></a>
		</p>
	</div>
</div>
<!--面包屑导航结束-->
<div class="mainwd">
	<div class="main_content lt">
		<div class=" area pding mb10 article_box">
			<h1><{$detail.title}></h1>
			<p class="graycl tp">
				<span class="lt"><font class="fontcl2"><{$detail.views}></font>人已浏览   时间 : <{$detail.dateline|format}></span>
				<span class="rt">
				<div class="bdsharebuttonbox rt"><div class="coDe">
					<div class="pic fontcl2">[ 手机扫码 ]<img src="%THEME%/static/images/codeico.jpg" /></div>
					<div class="show" id="QRimg" style="padding:5px;height:80px;" val="<{$mobile_url}>"></div>
					</div><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
				</div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script></span>
			</p>
			<div class="cl"></div>
			<p class="colorbg daoyu">导语：<{$detail.desc}></p>
			<div class="article_box_text"><{$detail.curr_content|taglink}>
				<{if $detail.content_count > 1}>
				<div class="page hoverno"><p><{for $page=1 to $detail.content_count}><a href="<{link ctl='article:detail' http=$detail.city_id|default:'www' arg0=$detail.article_id arg1=$page}>"<{if $pager.page == $page}> class="current"<{/if}>><{$page}></a><{/for}></p></div>
				<{/if}>
			</div>
			<div class="article_box_bottom">
				<p class="tp">
					<{if $pager.prev}>
					<a href="<{$pager.prev.link}>" class="lt fontcl1">上一篇：<{$pager.prev.title}></a>
					<{/if}>
					<{if $pager.next}>
					<a href="<{$pager.next.link}>" class="rt fontcl1">下一篇：<{$pager.next.title}></a></p>
					<{/if}>
				<h2>相关推荐：</h2>
				<ul class="ari_xg_tui">
					<{calldata mdl='article/article' cat_id=$cate.cat_id city_id=$request.city_id limit=10}>
					<li><span class="ico_list news_ico"></span><a href="<{$item.link}>"><{$item.title|cutstr:80}></a></li>
                    <{/calldata}>
				</ul>
			</div>
		</div>
		<{if $detail.allow_comment}>
		<{if $CONFIG.comment.article_type == 'sns'}>
		<{$CONFIG.comment.snscomment}>
		<{elseif $CONFIG.comment.article_type == 'comment'}>
		<div class="mb20 pding area">
			<h3>评论(共<font class="fontcl2"><{$detail.comments}></font>条)</h3>
			<form action="<{link ctl='article:savecomment'}>" mini-form="comment" method="post" class="pinglun">
				<input type="hidden" name="article_id" value="<{$detail.article_id}>" />
				<img src="<{$pager.img}>/<{$MEMBER.face}>" width="108" class="lt" />
				<div class="rt">
					<textarea name='content' class="text" placeholder="随便说点什么..."></textarea>
					<br />
					<{if $comment_yz}>
						验证码:
								<input class="text short" type="text" name="verifycode" placeholder="请输入验证码"/>
								<img verify="#comment-verify" src="<{link ctl='magic:verify' http='ajax'}>&_=<{$pager.dateline}>" id="comment-verify"/><a verify="#comment-verify">点击刷新验证码</a>
							
					<{/if}>
					<input type="submit" value="发表评论" class="text btn rt pinglun_btn" />
				</div>
				<div class="cl"></div>
			</form>
			<div class="new_pinglun">
				<p class="tit">最新评论</p>				
				<ul>
					<{foreach $comment_list as $item}>
					<li>
						<img src="<{$pager.img}>/<{$member_list[$item.uid].face_80}>" class="lt" />
						<div class="rt">
							<p><span class="lt name"><{$member_list[$item.uid].uname}></span><span class="rt graycl"><{$item.dateline|format}></span></p>
							<p><{$item.content}></p>
						</div>
					</li>
					<{/foreach}>
				</ul>
			</div>
		</div>
		<{/if}>
		<{/if}>		
	</div>
	<div class="side_content rt">
		<{widget id="tenders/fast" title="免费装修设计" from="TSJ"}>
		<div class="area pding mb10 cont_item_rt">
			<ul class="article_list">
				<{calldata mdl="article/cate" parent_id=8 from='article' hidden='0'}>
				<li>
					<h3><span class="ico_list shu_ico"></span><{$item.title}></h3>
					<{calldata mdl="article/cate" hidden='0' parent_id=$item.cat_id}><a href="<{link ctl='article:items' arg0=$item.cat_id}>"<{if $cate.cat_id==$item.cat_id}>  class="current"<{/if}>><{$item.title}></a><{/calldata}>
				</li>
				<{/calldata}>
			</ul>
		</div>
		<div class="mb20 "><{adv id="10" name="全站右侧招商图片广告" city_id=$request.city_id}></div>
	</div>
	<div class="cl"></div>
</div>
<script type="text/javascript">
(function(){
	$("#QRimg").qrcode({width:80,height:80,correctLevel:0,text:"<{$mobile_url}>"}); 
	})(window.KT, window.jQuery);
</script>
<!--底部内容开始-->
<{include file="block/footer.html"}>
<script>
$(".coDe ").mouseover(function(){
	$(this).find(".show").show();
}).mouseleave(function(){
	$(this).find(".show").hide();
});
</script>